<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0062)http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>
	
  SHCreateShellFolderView Function (Windows)

</title>
<link href="./SHCreateShellFolderView Function (Windows)_files/115884348f71fe7b5e8eaf3e9ce1cc26.css" rel="stylesheet" type="text/css">


<link rel="stylesheet" type="text/css" href="./SHCreateShellFolderView Function (Windows)_files/1ba8bf2312747032664951f2966a4bf3.css" media="print" title="printonly">




<meta name="DCS.dcsuri" content="/en-us/library/bb762141(d=lightweight,l=en-us,v=VS.85).aspx">

<meta name="NormalizedUrl" content="http://msdn.microsoft.com/en-us/library/bb762141(d=lightweight,l=en-us,v=VS.85).aspx">

<meta name="VotingContextUrl" content="http://msdn.microsoft.com/en-us/library/bb762141(l=en-us,v=VS.85).aspx">

<meta name="MN" content="74838603-12:48:36 PM">

<meta name="Search.ShortId" content="bb762141">

<meta name="Ms.Locale" content="en-us">
</head>
<body>
  <div class="header">
    

<table border="0" cellpadding="0" cellspacing="0" class="headerBar cl_lightweight_topnav_slice">
		<tbody><tr>
			<td class="leftSection cl_lightweight_header_leftSection_wave leftSectionImageClusterOverride">
        <div class="tabContainer">
          <a href="http://msdn.microsoft.com/en-us/" title="Home" class=" headerTab">Home</a>
          <a href="http://msdn.microsoft.com/en-us/library" title="Library" class="headerTabSelected cl_lightweight_selected_tab_repeatX ">Library</a>
          <a href="http://msdn.microsoft.com/en-us/bb188199.aspx" title="Learn" class=" headerTab">Learn</a>
          <a href="http://msdn.microsoft.com/en-us/aa570309.aspx" title="Downloads" class=" headerTab">Downloads</a>
          <a href="http://msdn.microsoft.com/en-us/aa570318.aspx" title="Support" class=" headerTab">Support</a>
          <a href="http://msdn.microsoft.com/en-us/aa497440.aspx" title="Community" class=" headerTab">Community</a>
          
        </div>
      </td>
			<td class="rightSection cl_lightweight_header_rightSection_wave rightSectionImageClusterOverride">
        <div class="tabContainer">
            
            <a href="https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1302724116&rver=6.0.5276.0&wp=MCLBI&wlcxt=msdn%24msdn%24msdn&wreply=http:%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fbb762141%2528v%3DVS.85%2529.aspx&lc=1033&cb=&id=254354" title="Sign in">Sign in </a>
            <span class="pipe">|</span>
            <a href="http://msdn.microsoft.com/en-us/library/preferences/locale/?returnurl=%252fen-us%252flibrary%252fbb762141(v%253dVS.85).aspx" title="United Kingdom - English">United Kingdom - English </a>
            <span class="pipe">|</span>
            <a href="http://msdn.microsoft.com/en-us/library/preferences/experience/?returnurl=%252fen-us%252flibrary%252fbb762141(v%253dVS.85).aspx" title="Preferences">Preferences</a>
        </div>
			</td>
	</tr>
</tbody></table>

  </div>
  <div class="contentPlaceHolder">
    
    
  <div class="navigation" id="Navigation" style="width:280px;padding-bottom:96px;">
    <div class="searchcontainer">
      
<form id="SearchForm" action="http://social.msdn.microsoft.com/Search/en-us" method="get" style="margin: 0; padding: 0;">
<div class="searchBoxContainer" style="">
  <table class="searchBox" cellpadding="0" cellspacing="0" border="0">
    <tbody><tr>
      <td class="searchTextBoxTd">
        <input id="searchTextBox" type="text" maxlength="200" class="searchTextBox" name="query" value="Search MSDN with Bing" onfocus="document.onkeydown = &#39;&#39;; WatermarkFocus(this, &#39;Search MSDN with Bing&#39;, &#39;searchTextBoxTrue&#39;) " onblur="document.onkeydown = Presskey;WatermarkBlur(this, &#39;Search MSDN with Bing&#39;, &#39;searchTextBox&#39;)">
      </td>
      <td class="searchButtonTd">
        <a href="javascript:void(0)" style="display: block; overflow: hidden; width: 19px; height: 19px; position: relative;           padding: 0; margin: 0;" onclick="javascript:if(document.getElementById(&#39;searchTextBox&#39;).value == &#39;Search MSDN with Bing&#39;)document.getElementById(&#39;searchTextBox&#39;).value=&#39;&#39;; document.getElementById(&#39;SearchForm&#39;).submit();">
          <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_search_icon" style="position: relative;" title="Search" alt="Search"></a>
      </td>
    </tr>
  </tbody></table>
</div>
</form>


    </div>
    <div class="navcontainer">
      
<div class="nav">
  
  <div class="toclevel0 ancestry">
    
    <div class="clip5x9 nav_root">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_bullet" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/ms123401.aspx" title="MSDN Library">MSDN Library</a></div>
    
    <div class="clip5x9 nav_arrows">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_arrow" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/ee663300(v=VS.85).aspx" title="Windows Development">Windows Development</a></div>
    
    <div class="clip5x9 nav_arrows">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_arrow" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/ee663298(v=VS.85).aspx" title="Windows Environment Development">Windows Environment Development</a></div>
    
    <div class="clip5x9 nav_arrows">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_arrow" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/bb773177(v=VS.85).aspx" title="Windows Shell">Windows Shell</a></div>
    
    <div class="clip5x9 nav_arrows">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_arrow" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/ff521731(v=VS.85).aspx" title="Shell Reference">Shell Reference</a></div>
    
    <div class="clip5x9 nav_arrows">
      <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_arrow" alt="">
    </div>
    
    <div class="nav_div_currentroot">
      <a href="http://msdn.microsoft.com/en-us/library/bb776426(v=VS.85).aspx" title="Shell Functions">Shell Functions</a></div>
    
  </div>
  
  <div class="clip13x9 nav_dots_current">
    <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_nav_dots" alt="">
  </div>
  
  <div class="toclevel1 current">
    <a href="./SHCreateShellFolderView Function (Windows)_files/SHCreateShellFolderView Function (Windows).htm" title="SHCreateShellFolderView">SHCreateShellFolderView</a></div>
  
  <div class="toclevel2 children" style="border-bottom: 1px solid #bbbbbb;">
    
  </div>
  <img src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif" alt="Separator" class="communityContentNavigationSeparator cl_lt_cc_line_top">
  
  <div class="communityContentNavigation">
    <div class="communityContentNavigationHeader">
      Community Content</div>
    
    <div class="communityContentNavigationPost">
      <div class="communityContentNavigationAvatarContainer">
        <a class="communityContentNavigationLinkAvatar" href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#3" title=""><img alt="" class="cl_default_avatar" src="./SHCreateShellFolderView Function (Windows)_files/Image.avatr"></a></div>
      
        <div class="communityContentNavigationLink">
          <ul>
            <li><a href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#3" title="">This API fails on Win7</a></li>
            <li>This API fails on win7 with retu...</li>
          </ul>
        </div>
    </div>
    
    <div class="communityContentNavigationPost">
      <div class="communityContentNavigationAvatarContainer">
        <a class="communityContentNavigationLinkAvatar" href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#1" title=""><img alt="" class="cl_default_avatar" src="./SHCreateShellFolderView Function (Windows)_files/Image(1).avatr"></a></div>
      
        <div class="communityContentNavigationLink">
          <ul>
            <li><a href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#1" title="">IShellFolder2 is required</a></li>
            <li>It's not stated here but under V...</li>
          </ul>
        </div>
    </div>
    
    <div class="communityContentNavigationMoreLink">
      <a href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#CommunityContent" title="More...">More...</a></div>
  </div>
  
</div>


    </div>
    
  </div>
  <a href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#" onclick="onIncreaseToc()" class="tocResize" id="TocResize" style="left:280px">
    <img id="ResizeImageIncrease" class="cl_nav_resize_open" src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" onmousedown="onIncreaseToc()" title="Expand" alt="Expand">
      <img id="ResizeImageReset" class="cl_nav_resize_close" src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" style="display:none" onmousedown="onResetToc()" title="Minimize" alt="Minimize">
  </a>
  <div class="content">
    <img class="TOC_Fade_Top cl_lw_toc_fade_top" src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif" alt="">
    

<div class="clip117x31 logo">
  <a href="http://msdn.microsoft.com/en-us/default.aspx">
    <img src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="msdn_body_logo" alt="MSDN" title="MSDN">
  </a>
</div>

    <div class="topicContainer" style="">
      
<div class="topic" xmlns="http://www.w3.org/1999/xhtml">
  <h1 class="title">SHCreateShellFolderView Function</h1>
  
  <div id="mainSection">
<div class="clsServerSDKContent">

</div>
<p>Creates a new instance of the default Shell folder view object.</p>
<h3>Syntax</h3>
<div class="LW_CodeSnippetContainer" xmlns=""><a name="CodeSpippet0"></a><div class="LW_CodeSnippetContainerCodeCollection"><div class="LW_CodeSnippetToolBar"><div class="LW_CodeSnippetToolBarText" style="valign: top"><a name="CodeSnippetname" style="display:none" title="Copy to clipboard." href="javascript:CodeSnippet_CopyCode('CodeSnippetContainerCode0');">Copy</a></div></div><div id="CodeSnippetContainerCode0" class="LW_CodeSnippetContainerCode"><div style="color:Black;"><pre>HRESULT SHCreateShellFolderView(
  __in&nbsp;&nbsp;&nbsp;const SFV_CREATE *pcsfv,
  __out&nbsp;&nbsp;IShellView **ppsv
);

</pre></div></div></div></div>
<h3>Parameters</h3>
<dl>
<dt><em>pcsfv</em> [in]</dt>
<dd>
<p>Type: <strong>const <a href="http://msdn.microsoft.com/en-us/library/bb773399(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">SFV_CREATE</strong></a>*</strong></p>
<p>Pointer to a <a href="http://msdn.microsoft.com/en-us/library/bb773399(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">SFV_CREATE</strong></a> structure that describes the particulars used in creating this instance of the Shell folder view object.</p>
</dd>
<dt><em>ppsv</em> [out]</dt>
<dd>
<p>Type: <strong><a href="http://msdn.microsoft.com/en-us/library/bb774834(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">IShellView</strong></a>**</strong></p>
<p>When this function returns successfully, contains an interface pointer to the new <a href="http://msdn.microsoft.com/en-us/library/bb774834(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">IShellView</strong></a> object. On failure, this value is NULL.</p>
</dd>
</dl>
<h3>Return Value</h3>
<p>Type: <strong>HRESULT</strong></p>
<p>If the method succeeds, it returns S_OK. Otherwise, it returns an <strong>HRESULT</strong> error code.</p>
<h3>Remarks</h3>
<p><strong>SHCreateShellFolderView</strong> is recommended over <a href="http://msdn.microsoft.com/en-us/library/bb762142(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">SHCreateShellFolderViewEx</strong></a> because of the greater flexibility of its elements to participate in various scenarios, provide new functionality to the view, and interact with other objects.</p>
<p>When dealing with several instances of <a href="http://msdn.microsoft.com/en-us/library/bb774834(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">IShellView</strong></a>, you might want to verify which is the default Shell folder view object. To do so, call <a href="http://msdn.microsoft.com/en-us/library/ms682521(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">QueryInterface</strong></a> on the object using the IID_CDefView IID. This call succeeds only when made on the default Shell folder view object.</p>
<h3>Requirements</h3>
<table>
<tbody><tr><th>
<p>Minimum supported client</p>
</th><td>Windows&nbsp;2000 Professional</td></tr>
<tr><th>
<p>Minimum supported server</p>
</th><td>Windows&nbsp;2000 Server</td></tr>
<tr><th>
<p>Header</p>
</th><td>Shlobj.h</td></tr>
<tr><th>
<p>Library</p>
</th><td>Shell32.lib</td></tr>
<tr><th>
<p>DLL</p>
</th><td>Shell32.dll (version 5.0 or later)</td></tr>
</tbody></table>
<h3><a id="see_also"></a>See Also</h3>
<dl>
<dt>
<a href="http://msdn.microsoft.com/en-us/library/bb773399(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">SFV_CREATE</strong></a>
</dt>
<dt>
<a href="http://msdn.microsoft.com/en-us/library/bb762142(v=VS.85).aspx"><strong xmlns="http://www.w3.org/1999/xhtml">SHCreateShellFolderViewEx</strong></a>
</dt>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="mailto:wsddocfb@microsoft.com?subject=Documentation%20feedback%20[shell\shell]:%20SHCreateShellFolderView%20Function%20%20RELEASE:%20(1/5/2011)&body=%0A%0APRIVACY%20STATEMENT%0A%0AThe%20SDK%20team%20uses%20the%20feedback%20submitted%20to%20improve%20the%20SDK%20documentation.%20We%20do%20not%20use%20your%20email%20address%20for%20any%20other%20purpose.%20We%20will%20remove%20your%20email%20address%20from%20our%20system%20after%20the%20issue%20you%20are%20reporting%20has%20been%20resolved.%20While%20we%20are%20working%20to%20resolve%20this%20issue,%20we%20may%20send%20you%20an%20email%20message%20to%20request%20more%20information%20about%20your%20feedback.%20After%20the%20issues%20have%20been%20addressed,%20we%20may%20send%20you%20an%20email%20message%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.%0A%0AFor%20more%20information%20about%20Microsoft's%20privacy%20policy,%20see%20http://privacy.microsoft.com/en-us/default.aspx." title="Send comments about this topic to Microsoft">Send comments about this topic to Microsoft</a></p>
<p>Build date: 1/5/2011</p>
</div>
</div>
    </div>
    
    <div class="topicEndLine">
    </div>
    <div id="CommunityContent" class="CommunityContent">
      
<div class="CommunityContentContainer">
    <div id="CommunityContentHeader" class="CommunityContentHeader">
      <div class="CommunityContentHeaderTitleContainer">
        <span class="CommunityContentHeaderTitle h1">Community Content</span>
          
        <a href="http://msdn.microsoft.com/en-us/library/community/add/bb762141(v=VS.85).aspx" title="Add">Add</a>
          
        </div>
        <div class="CommunityContentFaq">
            <a href="http://msdn.microsoft.com/en-us/library/community-edits.rss?topic=bb762141|en-us|VS.85" title="Annotations"><img class="cl_rss_button" alt="Annotations" src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif"></a>
            <a href="http://msdn.microsoft.com/en-us/library/community-msdnwikifaq.aspx" title="FAQ">FAQ</a>
        </div>
        <div style="clear:both"></div>
    </div>
    
    
    <div class="Annotation">
      <a name="3"></a>
      <div class="AnnotationTitle h3">
              <span>This API fails on Win7 </span>
                
        </div> 
        <div class="AnnotationBody">
            This API fails on win7 with returned value 0x80070002(ERROR_FILE_NOT_FOUND). I used process monitor to trace registry and file system operations during the calling, but no such operation performed at all. I have struggling with this issue for several days but with no solution, and I don't know what this error really means(Which file not found or which registry key not found). Our project has been blocked for the failure of this API.<br>
        </div>
        <div class="AnnotationHistory">
            <a href="http://msdn.microsoft.com/en-us/library/community/history/bb762141(v=VS.85).aspx?id=3" title="History" target="_blank">History</a>
        </div>
        
        <div class="HistoryGraphic">
        <img src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif" class="cl_rt_cc_line_top" alt="">
        </div>
        <div class="ModificationHistory">
             <div class="AnnotationAddedContainer">
             <a class="AddedUserAvatar" href="http://msdn.microsoft.com/en-us/library/community/user/1832376.aspx" title=""><img alt="" height="34" src="./SHCreateShellFolderView Function (Windows)_files/Image.avatr" width="34"></a>
               
                <ul class="AddedUserData">
                    <li>4/5/2011</li>
                    <li><a href="http://msdn.microsoft.com/en-us/library/community/user/1832376.aspx">Shunwei</a> </li>
                </ul>
            </div>
            
            
        </div>
        
    </div>
    
<div class="AnnotationComplete cl_nav_offline_nav_slice">
</div>
    
    <div class="Annotation">
      <a name="1"></a>
      <div class="AnnotationTitle h3">
              <span>IShellFolder2 is required </span>
                
        </div> 
        <div class="AnnotationBody">
            It's not stated here but under Vista (and perhaps also in earlier versions) SHCreateShellFolderView will return E_NOINTERFACE if the folder passed in the SFV_CREATE doesn't implement IShellFolder2.  This blog post mentions this: http://shellrevealed.com/blogs/shellblog/archive/2007/03/15/Shell-Namespace-Extension_3A00_-Creating-and-Using-the-System-Folder-View-Object.aspx<br>
        </div>
        <div class="AnnotationHistory">
            <a href="http://msdn.microsoft.com/en-us/library/community/history/bb762141(v=VS.85).aspx?id=1" title="History" target="_blank">History</a>
        </div>
        
        <div class="HistoryGraphic">
        <img src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif" class="cl_rt_cc_line_top" alt="">
        </div>
        <div class="ModificationHistory">
             <div class="AnnotationAddedContainer">
             <a class="AddedUserAvatar" href="http://msdn.microsoft.com/en-us/library/community/user/177892.aspx" title=""><img alt="" height="34" src="./SHCreateShellFolderView Function (Windows)_files/Image(1).avatr" width="34"></a>
               
                <ul class="AddedUserData">
                    <li>12/12/2008</li>
                    <li><a href="http://msdn.microsoft.com/en-us/library/community/user/177892.aspx">alamaison</a> </li>
                </ul>
            </div>
            
            
              <div class="AnnotationEditedContainer">
              <a class="EditedUserAvatar" href="http://msdn.microsoft.com/en-us/library/community/user/227088.aspx" title=""><img alt="" height="25" src="./SHCreateShellFolderView Function (Windows)_files/Image(2).avatr" width="25"></a>            
              <ul>
              <li>
              8/1/2010
              </li>
              <li>
              <a href="http://msdn.microsoft.com/en-us/library/community/user/227088.aspx">Stanley Roark</a>
              </li></ul>
              </div>
            
        </div>
        
    </div>
    
<div class="AnnotationComplete cl_nav_offline_nav_slice">
</div>
    
    <div class="Annotation">
      <a name="2"></a>
      <div class="AnnotationTitle h3">
              <span>IPersistFolder2 is also required </span>
                
        </div> 
        <div class="AnnotationBody">
            I have noted that IShellFolder2 is not enough under 7even.<br>
You need to implement IPersistFolder2 as well.

        </div>
        <div class="AnnotationHistory">
            <a href="http://msdn.microsoft.com/en-us/library/community/history/bb762141(v=VS.85).aspx?id=2" title="History" target="_blank">History</a>
        </div>
        
        <div class="HistoryGraphic">
        <img src="./SHCreateShellFolderView Function (Windows)_files/030c41d9079671d09a62d8e2c1db6973.gif" class="cl_rt_cc_line_top" alt="">
        </div>
        <div class="ModificationHistory">
             <div class="AnnotationAddedContainer">
             <a class="AddedUserAvatar" href="http://msdn.microsoft.com/en-us/library/community/user/1471230.aspx" title=""><img alt="" height="34" src="./SHCreateShellFolderView Function (Windows)_files/Image(3).avatr" width="34"></a>
               
                <ul class="AddedUserData">
                    <li>4/9/2010</li>
                    <li><a href="http://msdn.microsoft.com/en-us/library/community/user/1471230.aspx">Igor Krasnopeev</a> </li>
                </ul>
            </div>
            
            
              <div class="AnnotationEditedContainer">
              <a class="EditedUserAvatar" href="http://msdn.microsoft.com/en-us/library/community/user/227088.aspx" title=""><img alt="" height="25" src="./SHCreateShellFolderView Function (Windows)_files/Image(2).avatr" width="25"></a>            
              <ul>
              <li>
              8/1/2010
              </li>
              <li>
              <a href="http://msdn.microsoft.com/en-us/library/community/user/227088.aspx">Stanley Roark</a>
              </li></ul>
              </div>
            
        </div>
        
    </div>
    

</div>
    </div>
    
  </div>
  
  

  </div>
  <div class="footer">
    

<div id="footer" class="footerContainer cl_footer_slice">
  <div class="footerLogoContainer">
    <div class="footerContent">
    <div class="copyright">
      © 2011 Microsoft. All rights reserved.</div>
    <div class="footerLogo cl_footer_logo"></div>
    <a href="http://msdn.microsoft.com/cc300389.aspx">Terms of Use</a><span class="pipe"> | </span>
    <a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a><span class="pipe"> | </span>
    <a href="http://www.microsoft.com/info/privacy.mspx">Privacy Statement</a>
    <span class="pipe">| </span>
    <a onclick="javascript:ShowFeedbackDialog();" title="Feedback" class="FeedbackLink" href="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx#footerLink">
      Feedback
        <span class="FeedbackButton clip20x21" id="FeedbackButton">
          <img class="cl_footer_feedback_icon" src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" alt="Feedback">
        </span>
      </a>
    

  <div id="FeedbackContainer" class="FeedbackContainer">
    <form method="post" action="http://msdn.microsoft.com/en-us/library/feedback/add/bb762141(v=VS.85).aspx">
    <div class="FeedbackTitleContainer">
        <div class="FeedbackTitle">
            Feedback</div>
        <div class="FeedbackCancel">
            <a href="javascript:;" onclick="document.getElementById(&#39;FeedbackContainer&#39;).style.display = &#39;none&#39;;">x</a>
            </div>
    </div>
    <div class="FeedbackData">
        <div class="FeedbackInfoText">
            Tell us about your experience...
        </div>
        <div class="QuestionText">
            Did the page load quickly?
        </div>
        <div class="AnswerText">
            
            <span>
                Yes<span>
                    <input id="searchBox" name="searchBox" type="radio" value="1"></span></span>
            
            <span>
                No<span>
                    <input id="searchBox" name="searchBox" type="radio" value="0"></span></span>
            
        </div>
        <div class="QuestionText">
            Do you like the page design?
        </div>
        <div class="AnswerText">
            
            <span>
                Yes<span>
                    <input id="tabbedCode" name="tabbedCode" type="radio" value="1"></span></span>
            
            <span>
                No<span>
                    <input id="tabbedCode" name="tabbedCode" type="radio" value="0"></span></span>
            
        </div>
        <div class="QuestionText">
            How useful is this topic?
        </div>
        <div class="FeedbackGraphicHolder clip269x23">            
                <img alt="" src="./SHCreateShellFolderView Function (Windows)_files/a19e30a4020fe81d2b1209058013a360.png" class="cl_online_scale FeedbackSiderGraphic">
        </div>        
            <div class="RadioButtonHolder"><div class="RateRadioOne">
                    <input id="topicUseful" name="topicUseful" title="Really disliked it" type="radio" value="1">
                </div>
               <div class="RateRadio">
                    <input id="topicUseful" name="topicUseful" title="Disliked it" type="radio" value="2">
                </div>
               <div class="RateRadio">
                    <input id="topicUseful" name="topicUseful" title="OK" type="radio" value="3">
                </div>
               <div class="RateRadio">
                    <input id="topicUseful" name="topicUseful" title="Good" type="radio" value="4">
                </div>
               <div class="RateRadioLast">
                    <input id="topicUseful" name="topicUseful" title="Really Good" type="radio" value="5">
                </div>
               
            </div>            
        <div class="QuestionText">
            Tell us more
        </div>
        <div class="FeedbackTextAreaContainer">
            <textarea name="feedbackText" cols="25" rows="5" class="FeedbackTextArea" onfocus="document.onkeydown = &#39;&#39;;" onblur="document.onkeydown = Presskey;" onkeyup="LimitText(this, 4000);" onkeydown="LimitText(this, 4000);"></textarea>
            
            <textarea id="feedbackDescription" name="feedbackDescription" cols="25" rows="10" style="display:none;" onkeyup="LimitText(this, 4000);" onkeydown="LimitText(this, 4000);">Enter description here.</textarea>
            <input type="hidden" id="feedbackPriority" name="feedbackPriority" value="">
            <input type="hidden" id="feedbackSourceUrl" name="feedbackSourceUrl" value="">
            <input type="hidden" id="ClientIP" name="ClientIP" value="">
            <input type="hidden" id="ClientOS" name="ClientOS" value="">
            <input type="hidden" id="ClientBrowser" name="ClientBrowser" value="">
            <input type="hidden" id="ClientTime" name="ClientTime" value="">
            <input type="hidden" id="ClientTimeZone" name="ClientTimeZone" value="">
            
            
        </div>
        <div>
            <input type="submit" value="Send" class="FeedbackSubmit" onclick="document.getElementById(&#39;feedbackDescription&#39;).value=&#39;&#39;;document.getElementById(&#39;feedBackVersion&#39;).value = &#39;-1&#39;;">
        </div>
    </div>
    <input type="hidden" id="returnUrl" name="returnUrl" value="http://msdn.microsoft.com/en-us/library/bb762141(v=VS.85).aspx">
    
    
    <input type="hidden" id="feedBackVersion" name="feedBackVersion" value="1">
    
  </form> 
</div>

    </div>
  </div>
</div>

  </div>
  <div class="MetricsContainer">
    
    <div class="WebtrendsContainer">
      

<script type="text/javascript" language="javascript">
//<![CDATA[
  var literalNormalizedUrl = '/en-us/library/bb762141(d=lightweight,l=en-us,v=VS.85).aspx';
  var wt_nvr_ru = 'WT_NVR_RU';
  var wt_fpcdom = '.microsoft.com';
  var wt_domlist = 'msdn.microsoft.com';
  var wt_pathlist = '';
  var wt_paramlist = 'DCSext.mtps_devcenter';
  var wt_siteid = 'MSDN';
  var gDomain = 'm.webtrends.com';
  var gDcsId = 'dcsmgru7m99k7mqmgrhudo0k8_8c6m';
  var gFpc = 'WT_FPC';
  if (document.cookie.indexOf(gFpc + "=") == -1) {
    document.write("<scr" + "ipt type='text/javascript' src='" + "http" + (window.location.protocol.indexOf('https:') == 0 ? 's' : '') + "://" + gDomain + "/" + gDcsId + "/wtid.js" + "'><\\/scr" + "ipt>");
  }
  var detectedLocale = 'en-us';
  var wtsp = 'msdnlib_w32_com';
  var gTrackEvents = '0';
/*]]>*/
</script>
<noscript>&lt;div&gt;&lt;img alt="DCSIMG" id="Img1" width="1" height="1" src="http://m.webtrends.com/dcsmgru7m99k7mqmgrhudo0k8_8c6m/njs.gif?dcsuri=/nojavascript&amp;amp;WT.js=No" /&gt;&lt;/div&gt;</noscript>


    </div>
    
    <div class="OmnitureContainer">
      



<script type="text/javascript">
  var omni_guid = '1874c74a-9a05-4d8e-a894-5478e395fce0'; 
</script>



<noscript>
    &lt;a href="http://www.omniture.com" title="Web Analytics"&gt;
        &lt;img src="//msstonojsmsdn.112.2o7.net/b/ss/msstonojsmsdn/1/H.20.2--NS/0" height="1" width="1" border="0" alt="" /&gt;&lt;/a&gt;
</noscript>


    </div>
    
    <div class="WebMetrixContainer">
      
<div class="MetricsContainer">
    <img alt="Page view tracker" src="./SHCreateShellFolderView Function (Windows)_files/trans_pixel.asp" width="0" height="0" border="0">
</div>

    </div>
    
</div>
<script language="javascript" type="text/javascript" src="./SHCreateShellFolderView Function (Windows)_files/broker.js"></script>
<script type="text/javascript" src="./SHCreateShellFolderView Function (Windows)_files/71963f534a3cb22aa72383ecbeb36807.js" xmlns="http://www.w3.org/1999/xhtml"></script>

<script src="./SHCreateShellFolderView Function (Windows)_files/broker-config.js"></script></body></html>